package com.mydesignpattern.beijing.decorator.floor;

import com.mydesignpattern.beijing.decorator.House;

public class StoneFloor implements House {

    private House house;

    private StoneFloor (House house){
        this.house = house;
    }


    @Override
    public int countPrice() {
        return 5 + house.countPrice();
    }
}
